<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
	<%@taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    <link rel="shortcut icon" href="photo/clogo.png" />
    <title>Q易云-共享生活</title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">



<link rel="stylesheet" type="text/css" href="resources/css/ext-all.css"/>
<link rel="stylesheet" type="text/css" href="resources/css/xtheme-gray.css" />
<link rel="stylesheet" type="text/css" href="css/icons.css" />
<link rel="stylesheet" type="text/css" href="css/fileIcon.css" />
<link rel="stylesheet" type="text/css" href="css/side.css" />
<link rel="stylesheet" type="text/css" href="css/head.css" />

<script type="text/javascript" src="js/ext-base.js"></script>
<script type="text/javascript" src="js/ext-all.js"></script>
<script type="text/javascript" src="js/jquery-2.0.3.js"></script>
<script type="text/javascript" src="js/main/FileGridPanel.js"></script>
<script type="text/javascript" src="js/main/uploadWindow.js"></script>
<script type="text/javascript" src="js/main/FolderTreeWindow.js"></script>
<script type="text/javascript" src="js/main/SidePanel.js"></script>
<script type="text/javascript" src="js/main/HeadPanel.js"></script>
  <script type="text/javascript" src="js/main.js"></script>
<script type="text/javascript" src="js/util/fixback.js"></script>
<link rel="stylesheet" type="text/css" href="css/jquery.contextmenu.css">
<script src="js/jquery-1.11.1.js"></script>
<script src="js/jquery.contextmenu.js"></script>
<script src="js/contextmenu.r2.js"></script>
<script src="js/sha1.js"></script>
<script>
     $(document).bind("keydown",function(e){   
        e=window.event||e;
        if(e.keyCode==116){
        fixCss();
        e.keyCode = 0;
        }
             
     });


	$(document).ready(function(){
		$("#gridPanel").click(function(){
			alert("gridPanel");
		})
	})
</script>
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
<%out.print("<script type=\"text/javascript\">");%>
	var usedsize;
	usedsize=(${loginuser.usedspace }/1024/1024).toFixed(2);
	if(usedsize<=0){
		usedsize=0;
	}
	var totalsize=(${loginuser.totalspace }/1024/1024).toFixed(0);
	//var loginuser='<s:property value="#loginuser.nickname" />';
	var username='${loginuser.username }';
	var nickname='${loginuser.nickname}';
	if(nickname==''){
		loginuser=username;
	}
	
	//window.onload=fixCss;
	//window.onresize=fixGridPanel;
	//$(function(){fixCss();});
<%out.print("</script>"); %>
  </head>
  
  <body >
  <!--  body onload="fixCss()"-->
  <div class="contextMenu" id="myMenu1">
      <ul ">
        <li id="download"><img src="photo/downloadIcon.png">&nbsp下载</li>
        <li id="upload"><img src="photo/uploadIcon.png">&nbsp上传</li>
        <li id="move"><img src="photo/moveIcon.png">&nbsp移动到</li>
        <li id="copy"><img src="photo/copyIcon.png">&nbsp复制到</li>
        <li id="delete"><img src="photo/deltoIcon.png">&nbsp删除</li>
      </ul>
    </div>
 <div class="contextMenu" id="myMenu2">
      <ul>
        <li id="delPermanent"><img src="photo/deleteIcon.png">&nbsp彻底删除</li>
        <li id="reverse"><img src="photo/returnIcon.png">&nbsp还原</li>
      </ul>
    </div>
  </body>
  
</html>